using System.Text;
using System.Data.Entity.ModelConfiguration;
using WMSNet.Model.Models;

namespace WMSNet.Data.Configuration
{
    public class SysPropConfiguration : EntityTypeConfiguration<SysProp>
    {
        public SysPropConfiguration()
        {
            Property(g => g.SysPropID).IsRequired();
            Property(g => g.AdditionalContent).IsOptional();
            Property(g => g.Created).IsOptional();
         
            Property(g => g.Modified).IsOptional();
           
            Property(g => g.Description).IsOptional();
            Property(g => g.GroupName).IsOptional();
            Property(g => g.Hidden).IsOptional();
            Property(g => g.SysKey).IsOptional();
            Property(g => g.SysValue).IsOptional();
            Property(g => g.WorkStation).IsOptional();
            Property(g => g.ClientID).IsOptional();
        }
    }
}